<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="njtc" uri="http://www.njtcedu.cn/app/core" %>

<div class="content" id="content" data-nav="nav_user">
    <h1>创建用户</h1>
	<form id="brandForm" action="${pageContext.request.contextPath}/intranet/user" method="post">
		<ul>
			<li>
				<label for="Name">账号：<span class="required">*</span></label>
				<input id="name" name="account" type="text" value="${user.account }" maxlength="50" required />
			</li>

			<li>
				<label for="password">密码：<span class="required">*</span></label>
				<input id="password" name="password" type="password" value="${user.password }" maxlength="50" required />
			</li>


			<li>
				<label for="nickName">昵称:<span class="required">*</span></label>
				<input id="nickName" name="nickName" type="text" value="${user.nickName }"/>
			</li>

			<li>
				<label for="userType">用户类型：<span class="required">*</span></label>
				<select name="userType">
					<OPTION value="ADMIN">ADMIN</OPTION>
					<OPTION value="ORDINARY">ORDINARY</OPTION>
				</select>
				
			</li>

			<li class="btnline"><label>&nbsp;</label>
			<input class="modify" value="添加" type="submit">
			</li>
		</ul>
	</form>
</div>